package com.wc.alorithm_luogu.P5706;

import java.util.Scanner;

/**
 * @Author congge
 * @Date 2023/4/17 18:28
 * @Version 1.0
 * @description https://www.luogu.com.cn/problem/P5706
 * 再分肥宅水
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double v = sc.nextDouble();
        int n = sc.nextInt();

        System.out.printf("%.3f\n%d", v / n, n * 2);
    }
}
